<template>
	<el-dialog v-model="dialogVisible" title="积分明细" width="700px" >
		<div class="r-flex-row r-justify-between r-margin-30">
			<span>ssgs</span>
			<span>xxxxxxx</span>
		</div>
		<el-table :data="tableData" border>
			<el-table-column prop="date" label="收支" width="180" />
			<el-table-column prop="name" label="当前积分" width="180" />
			<el-table-column prop="address" label="时间" />
			<el-table-column prop="address" label="操作" />
			<el-table-column prop="address" label="操作员" />
		</el-table>
		<template #footer>
			<div class="dialog-footer">
				<el-button @click="dialogVisible = false">取消</el-button>
				<el-button type="primary" @click="dialogVisible = false">
					确认
				</el-button>
			</div>
		</template>
	</el-dialog>
</template>

<script lang="ts" setup>
	import { ref, reactive } from 'vue';
	const dialogVisible = ref(false);
	const tableData = ref([])
	const addPonitForm = reactive({
		name: ''
	});
	const showModal = () => {
		dialogVisible.value = true;

	};
	defineExpose({
		showModal
	});

// const emits = defineEmits(['showModal'])
</script>
<style scoped>

</style>